import Vue from 'vue'
import Vuex from 'vuex'
import base from './modules/base'
import sysSetting from './modules/sys-setting'
import business from './modules/business'
import tagsView from './modules/tagsView'
import permission from './modules/permission'

Vue.use(Vuex);

import actions from "./actions";
import getters from "./getters";
import mutations from "./mutations";
import state from "./state";

export default new Vuex.Store({
  state,
  actions,
  getters,
  mutations,
  modules: {
    base,
    sysSetting,
    business,
    tagsView,
    permission
  }
});